package com.itheima.d13_api_object;

public class Test {
    public static void main(String[] args) {
        // 目标: 掌握Object类提供的常用方法
        Student s1 = new Student("张三",12);
        System.out.println(s1.toString());

        Student s2 = new Student("张三",12);
        System.out.println(s1.equals(s2));
    }
}
